#ifndef __OBJHADLE_H__
#define __OBJHADLE_H__
#include <dllLib.h>
typedef struct obj
    {
    void *   obj;
    DL_LIST  objHandleList;
    }OBJ;
typedef OBJ*         OBJ_ID;
typedef int          OBJ_HANDLE;

OBJ_HANDLE objHandleAlloc        (OBJ_ID objId);
OBJ_ID     objHandleToObjId      (OBJ_HANDLE handle);
STATUS     objHandleClose        (OBJ_HANDLE handle);
void       objHandleTblTerminate ();
OBJ_HANDLE objIdToObjHandle      (OBJ_ID objId);
#endif